package com.ruoyi.ade.llm.exception;

public class AdePromptException extends RuntimeException{

    private String message; // 自定义错误信息

    public AdePromptException(String message) {
        super(message);
        this.message = message;
    }
    public AdePromptException(String message, Throwable t){
        super(message,t);
        this.message = message;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
